package com.example.design.创建型设计模式.单例模式;

public class SingletonMain {
    public static void main(String[] args) {
        Singleton singleton = Singleton.getInstance();
        singleton.setName("singleton");
        singleton.setDescription("单例模式");
        System.out.println(singleton);
    }
}
